package cn.edu.cdu.farmdeal.service.impl;

import cn.edu.cdu.farmdeal.domain.Swiper;
import cn.edu.cdu.farmdeal.mapper.SwiperMapper;
import cn.edu.cdu.farmdeal.service.SwiperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author: tupeng
 * @Date: 2020/3/12
 **/
@Service
public class SwiperServiceImpl implements SwiperService {
    private final SwiperMapper swiperMapper;

    public SwiperServiceImpl(SwiperMapper swiperMapper) {
        this.swiperMapper = swiperMapper;
    }

    @Override
    public List<Swiper> getSwiper() {
        return swiperMapper.getSwiper();
    }
}
